package com.example.jetpackcomposelazycolumn.data.network

import com.example.jetpackcomposelazycolumn.models.PostPage
import retrofit2.http.GET
import retrofit2.http.Path

interface AdoptMeWebApi {

    @GET("pictures/view_posts/{pageNumber}?type=json")
    suspend fun getPosts(@Path("pageNumber") pageNumber: Int): PostPage
}